package com.tempjob.app.dto;

import com.tempjob.common.model.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author hui
 * @Date 2023/12/16 21:24
 **/
@Data
@ApiModel
public class UserRegistDTO extends BaseRequest {

    @ApiModelProperty("微信openid")
    private String openid;

    @ApiModelProperty("手机号")
    @NotNull
    private String mobile;

    @ApiModelProperty("登录密码")
    @NotNull
    private String password;

    @ApiModelProperty("短信验证码")
    @NotBlank(message = "验证码不能为空")
    private String smsCode;


}
